﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AdminMainNavbar.ascx.cs" Inherits="TeachingAffairsManagementSystem.AdminMainNavbar" %>
<div class="navbar navbar-default navbar-head">
    <div class="container">
        <ul class="nav navbar-nav">
            <li runat="server" ID="LHome">
                <asp:HyperLink runat="server" NavigateUrl="~/Home.aspx">主页</asp:HyperLink>
            </li>
            <li runat="server" ID="LMain">
                <asp:HyperLink runat="server" NavigateUrl="~/Main.aspx">系统管理</asp:HyperLink>
            </li>
            <li runat="server" ID="LAbout">
                <asp:HyperLink runat="server" NavigateUrl="~/About.aspx">关于</asp:HyperLink>
            </li>
            
        </ul>
        <ul class="nav navbar-nav navbar-right">
            <li class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#">欢迎你，<%= Session["name"] %><b class="caret"></b></a>
                <ul class="dropdown-menu">
                    <li class="nav-divider"></li>
                    <li>
                        <asp:HyperLink runat="server" NavigateUrl="~/Logout.aspx">退出</asp:HyperLink>
                    </li>
                </ul>
            </li>

        </ul>
    </div>
</div>